const user = require('./user')
// const uniID = require('uni-id')

exports.main = async (event, context) => {
	
	const actions = {
		user,
		
	}
	const [controller,method] = event.url.split('/')
	// console.log(event,999999999999999)
	// console.log(controller,method)
	//返回数据给客户端
	event = actions[controller][method](event,context)
	return event
};
